﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.OleDb;
using Oracle.DataAccess.Client;
using System.Configuration;

namespace Testify.Tests
{
   public partial class Test : System.Web.UI.Page
   {
      private void Page_Load(object sender, System.EventArgs e)
      {
         int counter = 0;
         for (int x = 0; x <= 55; x++)
         {
            counter += 60;
            Literal lit = new Literal();
            Literal lit2 = new Literal();
            Literal lit3 = new Literal();
            Literal lit4 = new Literal();
            Literal lit5 = new Literal();
            Literal lit6 = new Literal();
            Literal lit7 = new Literal();
            Literal lit8 = new Literal();
            Literal lit9 = new Literal();
            Literal lit10 = new Literal();
            Literal lit11 = new Literal();
            Literal lit12 = new Literal();
            Literal lit13 = new Literal();
            Literal lit14 = new Literal();
            Literal lit15 = new Literal();
            Literal lit16 = new Literal();
            Literal lit17 = new Literal();
            Literal lit18 = new Literal();
            Literal lit19 = new Literal();
            Literal lit20 = new Literal();
            Literal lit21 = new Literal();
            Literal lit22 = new Literal();
            Literal lit23 = new Literal();
            Literal lit24 = new Literal();
            Literal lit25 = new Literal();
            Literal lit26 = new Literal();
            Literal lit27 = new Literal();
            Literal lit28 = new Literal();
            Literal lit29 = new Literal();
            Literal lit30 = new Literal();
            Literal lit31 = new Literal();
            Literal lit32 = new Literal();
            Literal lit33 = new Literal();
            Literal lit34 = new Literal();
            Literal lit35 = new Literal();
            Literal lit36 = new Literal();
            Literal lit37 = new Literal();
            Literal lit38 = new Literal();
            Literal lit39 = new Literal();
            Literal lit40 = new Literal();
            lit.ID = x.ToString();
            lit.Text = "<option value='" + x + "'>" + x + "</option>";
            lit2.ID = x + counter.ToString();
            lit2.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit3.ID = x + counter.ToString();
            lit3.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit4.ID = x + counter.ToString();
            lit4.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit5.ID = x + counter.ToString();
            lit5.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit6.ID = x + counter.ToString();
            lit6.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit7.ID = x + counter.ToString();
            lit7.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit8.ID = x + counter.ToString();
            lit8.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit9.ID = x + counter.ToString();
            lit9.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit10.ID = x + counter.ToString();
            lit10.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit11.ID = x + counter.ToString();
            lit11.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit12.ID = x + counter.ToString();
            lit12.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit13.ID = x + counter.ToString();
            lit13.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit14.ID = x + counter.ToString();
            lit14.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit15.ID = x + counter.ToString();
            lit15.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit16.ID = x + counter.ToString();
            lit16.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit17.ID = x + counter.ToString();
            lit17.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit18.ID = x + counter.ToString();
            lit18.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit19.ID = x + counter.ToString();
            lit19.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit20.ID = x + counter.ToString();
            lit20.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit21.ID = x + counter.ToString();
            lit21.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit22.ID = x + counter.ToString();
            lit22.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit23.ID = x + counter.ToString();
            lit23.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit24.ID = x + counter.ToString();
            lit24.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit25.ID = x + counter.ToString();
            lit25.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit26.ID = x + counter.ToString();
            lit26.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit27.ID = x + counter.ToString();
            lit27.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit28.ID = x + counter.ToString();
            lit28.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit29.ID = x + counter.ToString();
            lit29.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit30.ID = x + counter.ToString();
            lit30.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit31.ID = x + counter.ToString();
            lit31.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit32.ID = x + counter.ToString();
            lit32.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit33.ID = x + counter.ToString();
            lit33.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit34.ID = x + counter.ToString();
            lit34.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit35.ID = x + counter.ToString();
            lit35.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit36.ID = x + counter.ToString();
            lit36.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit37.ID = x + counter.ToString();
            lit37.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit38.ID = x + counter.ToString();
            lit38.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit39.ID = x + counter.ToString();
            lit39.Text = "<option value='" + x + "'>" + x + "</option>";
            counter += 60;
            lit40.ID = x + counter.ToString();
            lit40.Text = "<option value='" + x + "'>" + x + "</option>";

            PlaceHolder1.Controls.Add(lit);
            PlaceHolder2.Controls.Add(lit2);
            PlaceHolder3.Controls.Add(lit3);
            PlaceHolder4.Controls.Add(lit4);
            PlaceHolder5.Controls.Add(lit5);
            PlaceHolder6.Controls.Add(lit6);
            PlaceHolder7.Controls.Add(lit7);
            PlaceHolder8.Controls.Add(lit8);
            PlaceHolder9.Controls.Add(lit9);
            PlaceHolder10.Controls.Add(lit10);
            PlaceHolder11.Controls.Add(lit11);
            PlaceHolder12.Controls.Add(lit12);
            PlaceHolder13.Controls.Add(lit13);
            PlaceHolder14.Controls.Add(lit14);
            PlaceHolder15.Controls.Add(lit15);
            PlaceHolder16.Controls.Add(lit16);
            PlaceHolder17.Controls.Add(lit17);
            PlaceHolder18.Controls.Add(lit18);
            PlaceHolder19.Controls.Add(lit19);
            PlaceHolder20.Controls.Add(lit20);
            PlaceHolder21.Controls.Add(lit21);
            PlaceHolder22.Controls.Add(lit22);
            PlaceHolder23.Controls.Add(lit23);
            PlaceHolder24.Controls.Add(lit24);
            PlaceHolder25.Controls.Add(lit25);
            PlaceHolder26.Controls.Add(lit26);
            PlaceHolder27.Controls.Add(lit27);
            PlaceHolder28.Controls.Add(lit28);
            PlaceHolder29.Controls.Add(lit29);
            PlaceHolder30.Controls.Add(lit30);
            PlaceHolder31.Controls.Add(lit31);
            PlaceHolder32.Controls.Add(lit32);
            PlaceHolder33.Controls.Add(lit33);
            PlaceHolder34.Controls.Add(lit34);
            PlaceHolder35.Controls.Add(lit35);
            PlaceHolder36.Controls.Add(lit36);
            PlaceHolder37.Controls.Add(lit37);
            PlaceHolder38.Controls.Add(lit38);
            PlaceHolder39.Controls.Add(lit39);
            PlaceHolder40.Controls.Add(lit40);
         }
      }

      protected void src_dl_test_Selecting(object sender, SqlDataSourceSelectingEventArgs e)
      {
         e.Command.Parameters["test_id"].Value = "1";
      }
   }
}